
import { configureStore } from '@reduxjs/toolkit'
import webInfoReducer from './webInfoSlice'
import articleReducer from './articleSlice';
const store = configureStore({
    reducer: {
    webInfo: webInfoReducer,
    article:articleReducer
    },
    middleware:getDefaultMiddleware => getDefaultMiddleware({
      //关闭redux序列化检测
      serializableCheck:false
  })
  })
  export type RootState = ReturnType<typeof store.getState>;
  export type AppDispatch = typeof store.dispatch; 
  export default store